package com.px.business.domain;

import com.px.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 分配专家对象 evaluation_expert
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Data
public class EvaluationExpert {
    /**
     * 评估专家标识
     */
    private Long evaluationExpertId;

    /**
     * 评估申请标识
     */
    @Excel(name = "评估申请标识")
    private Long evaluationApplicationId;

    /**
     * 专家类别
     */
    private Integer expertType;

    /**
     * 专家标识
     */
    @Excel(name = "专家")
    private Long expertBy;

    /**
     * 专家名称
     */
    @Excel(name = "专家名称")
    private String expertName;

    /**
     * 入场时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishedAt;

    /**
     * 专家科室
     */
    @Excel(name = "专家科室")
    private Long deptId;

    /**
     * 专家评估描述
     */
    private String expertDescription;

    public EvaluationExpert() {
    }

    public EvaluationExpert(Long evaluationApplicationId, int expertType, Long expertBy) {
        this.evaluationApplicationId = evaluationApplicationId;
        this.expertType = expertType;
        this.expertBy = expertBy;
    }

    public EvaluationExpert(Long evaluationApplicationId) {
        this.evaluationApplicationId = evaluationApplicationId;

    }

}
